<template>
	<div class="topBar">
		<img :src="jiangliUrl" alt="" />
		<div>
			<img :src="fanhuiUrl" @click="toPrev" />
			<img :src="indexzUrl" @click="toIndex" style="margin-left: 3vw" />
		</div>
	</div>
</template>
<script setup>
const fanhuiUrl = "./img/shangyiye.png";
const jiangliUrl = "./img/jiangli2.png";
const indexzUrl = "./img/daohangshouye.png";

const toIndex = () => {
	window.toIndex();
};

const toPrev = () => {
	window.toPrev();
};
</script>
<style scoped>
.topBar {
	position: fixed;
	top: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 1vw 2vw;
  z-index: 99;
}
.topBar img {
	width: 5vw;
}
</style>
